#ifndef _CRT_PATH_H_
#define _CRT_PATH_H_

#include <crt_define.h>

#ifdef	__cplusplus
extern "C"
{
#endif

int FileIsExist(const basic_tchar* lpFile);
int GetDynamicPath(void* szName, basic_tchar* szPath, ULONG ulen);
int GetExecutePath(_pinstance hInstance, basic_tchar* szPath, ULONG ulen);
int GetDynamicName(const basic_tchar* pName, basic_tchar* pPluginName, ULONG ulen);


typedef void(*get_file_cb)(const basic_tchar* szPath, void* ctx);

int GetFiles(basic_tchar* szPath, get_file_cb entry, void* ctx);


#ifdef	__cplusplus
}
#endif

#endif


